//
//  BookDir.h
//  readNovels
//
//  Created by wulanzhou on 2017/2/15.
//  Copyright © 2017年 wulanzhou. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Chapter.h"

@interface BookDir : NSObject

@property (nonatomic,strong) NSString *fileName;
@property (nonatomic,strong) NSString *dirPath;
@property (nonatomic,strong) NSString *filePath;

+ (BookDir *)shareInstance;

- (NSString *)fileNameToPath:(NSString *)name;

- (NSArray *)getAllFiles;

- (void)compressWithChpaters:(NSArray <Chapter *> *)chapters fileName:(NSString *)fileName;

- (void)compress;

@end
